scrolledwindow: Fix swapping out child
authorMatthias Clasen <mclasen@redhat.com>
Wed, 13 May 2020 21:10:36 +0000 (17:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 13 May 2020 21:10:36 +0000 (17:10 -0400)
commit10be40a8b1c6028e209eed24b666a50361103dee
tree6d132d2b6415e409d2a2972bcc906c016bcb7282
parent8e6ec0b8a3d71a85d57a2329520b40680e9cdaf5
scrolledwindow: Fix swapping out child

This was not working in the case that the existing child
is not a scrollable. It showed up as crashes of the
scrolling benchmark in gtk4-demo when switching examples.
gtk/gtkscrolledwindow.c